Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kube-1.28 to alpha #7289

Merged
merged 5 commits into from
Apr 11, 2024
Merged

kube-1.28 to alpha #7289

merged 5 commits into from
Apr 11, 2024

Conversation

zalando-teapot-robot
Copy link
Contributor

  • PlatformCredentialsSet: configure spec.preserveUnknownFields=false (#⁠7284) - major Major feature changes or updates, e.g. feature rollout to a new country, new API calls.

AlexanderYastrebov and others added 5 commits April 9, 2024 18:32
Explicitly set `preserveUnknownFields: false` to enable strict
CRD validation and prohibit unknown fields in test environment first.

Conversion of CRD from v1beta1 to v1 (see #2991) resulted in
`preserveUnknownFields: true`:
```
$ kubectl --context=example get crd platformcredentialssets.zalando.org -o yaml | grep preserveUnknownFields
  preserveUnknownFields: true
    message: 'spec.preserveUnknownFields: Invalid value: true: must be false'
```
and requires explicit false value to reset.

See also kubernetes-sigs/controller-tools#476 (comment)

Signed-off-by: Alexander Yastrebov <[email protected]>
…elds-false

PlatformCredentialsSet: configure spec.preserveUnknownFields=false
@zalando-teapot-robot zalando-teapot-robot added the major Major feature changes or updates, e.g. feature rollout to a new country, new API calls. label Apr 10, 2024
@szuecs
Copy link
Member

szuecs commented Apr 10, 2024

👍

@szuecs szuecs added the frozen new updates to the dev branch won't be added to dev-to-alpha pull request label Apr 11, 2024
@gargravarr
Copy link
Contributor

👍

@gargravarr gargravarr merged commit 9d67116 into alpha Apr 11, 2024
10 checks passed
@gargravarr gargravarr deleted the kube-1.28-to-alpha branch April 11, 2024 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frozen new updates to the dev branch won't be added to dev-to-alpha pull request internal/merges-tagged major Major feature changes or updates, e.g. feature rollout to a new country, new API calls.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants